<?php
class Cregister extends CI_Controller{
	
	function index(){
	if($this->input->post('submit')) {
		$this->load->model('mregister');
		$this->mregister->tambah();
		redirect('homez');
	}
	$this->load->view('vregister');
	}
	
}
?>
